<input type="text" placeholder="请输入页码" [(ngModel)]="so.CurrentPage" />

<button type="button" (click)="search(dbRender)">查询</button>

<dataRender #dbRender url="/nwf/api/services/leo/Workflow/SearchToDos" method="post" [height]="420" [so]="so" [columns]="columns">
  <ng-template let-key let-row="row">
    <ng-container [ngSwitch]="key">
      <a *ngSwitchCase="'serialNumber'" [routerLink]="getRouteUrl(row)">{{row['serialNumber']}}</a>
      <b *ngSwitchCase="'status'">{{row.workflowStatus}}</b>
    </ng-container>
  </ng-template>
</dataRender>
